<button type="button" (click)="exportExcel()" class="btn btn-primary" style="margin-bottom:10px">
    <i class="fa fa-sign-out"></i>导出Excel</button>
<div style="overflow-x:scroll;">
  <table id="example2" class="datatable-control-all table table-bordered table-keep-line table-hover table-striped">
    <thead>
      <tr>
        <th>投资经理名称</th>
        <th>类别</th>
        <th>是否助理</th>
        <th>是否报客户</th>
        <th>是否有附件</th>
        <th>开始日期</th>
        <th>结束日期</th>
      </tr>
    </thead>
    <tbody>
      <tr *ngFor="let item of investList" style="text-align: center; vertical-align: middle; ">
        <td>{{item.sManagerName}}</td>
        <td>{{item.sType}}</td>
        <td>{{item.sIsAssistant}}</td>
        <td>{{item.sIsReport}}</td>
        <td>{{item.sHaveAttach}}</td>
        <td>{{item.dBegin}}</td>
        <td>{{item.dEnd}}</td>
      </tr>
    </tbody>
  </table>
  <!-- 分页开始 -->
  <app-pagination [currentPageNum]="investListPageInfo.currentPageNum" [pagesShow]="" [totalPages]="investListPageInfo.totalPages"
    (pageChanged)="investPageNavigation($event)">
    <div class="pull-left pagination-detail" data-pagination-additional="true">
      <span class="pagination-info">
      当前显示第{{investListPageInfo.startRow}}到第{{investListPageInfo.endRow}}条，总共{{investListPageInfo.total}}条，
    </span>
      <span class="page-list">
      每页记录
      <span class="btn-group dropup">
        <button type="button" class="btn btn-default dropdown-toggle" data-toggle="dropdown">
          <span class="page-size">{{investListPageInfo.pageSize}}</span>
      <span class="caret"></span>
      </button>
      <ul class="dropdown-menu" role="menu">
        <li *ngFor="let i of investListPageInfo.pageList" role="menuitem" [class.active]="investListPageInfo.pageSize === i" (click)="investPagesizeChange(i)">
          <a>{{i}}</a>
        </li>
      </ul>
      </span>条
      </span>
    </div>
  </app-pagination>
  <!-- 分页结束 -->
</div>